<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% String contextPath = request.getContextPath(); %>
<% String msg= (String)request.getAttribute("msg"); %>

<html>
<head>
<link href="<%= contextPath %>/css/order.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>顧客検索</title>
</head>
<body>
	<h1 id="h1">顧客検索</h1>
		<%if(msg!=null){%>
		<h2><%=msg %></h2>
				
			<% } %>
		<div id="telOrder">
			<form action="<%=request.getContextPath() %>/orderOpe/CustomerListServlet">
				
				<table>
					<tr>
						<td>顧客コード</td>
						<td><input type="text" name="code"></td>
						<td><input type="submit" value="検索" id="log"></td>
					</tr>
				</table>
				
			</form>
						
			<p>または</p>
						
			<form action="<%=request.getContextPath() %>/orderOpe/CustomerListServlet">
				<table>
					<tr>
						<td>　名　前　</td>
						<td><input type="text" name="name"id="input"></td>
						<td></td>
					</tr>
					<tr>
						<td>　住　所　</td>
						<td><input type="text" name="address"></td>
						<td><input type="submit" value="検索" id="log"></td>
					</tr>
					<tr>
						<td>電 話 番 号</td>
						<td><input type="text" name="tel" id="input"></td>
						<td></td>
					</tr>
				</table>
			</form>
		</div>

</body>
</html>